package com.guaoran.restspringwebmvc.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

import java.util.List;

/**
 * @author : gucheng
 * @Description : <br/>
 * 直接返回xml 未做任何处理，直接是xml，需要引入 jackson-dataformat-xml 依赖
 * @date :2018/11/12 15:54
 */
//@Configuration
public class MyWebMvcConfigurationSupport extends WebMvcConfigurationSupport {
    public void extendMessageConverters(List<HttpMessageConverter<?>> converters) {
    }
}
